import pytest,os,allure

if __name__ == '__main__':
    # # pytest.main([r'D:\gao62301a\gaoliumoli\yuekaomoli\Case\test_buy.py','-s','-v','-m','smoke'])
    # pytest.main([r'D:\gao62301a\gaoliumoli\yuekaomoli\Case\test_email.py','-s','--clean-alluredir','--alluredir=report'])
    # os.system('allure generate ./report -o ./html --clean')
    if __name__ == '__main__':
        pytest.main(['test_email.py', '-s', '--alluredir=results'])

        os.system('allure generate results -o allure-report --clean')


